import DefaultLayout from './layout/default';

import Home from './page/home';
import Article from './page/article';
import User from './page/users';

export default [
  {
    path: '/',
    component: DefaultLayout,
    key: 'default',
    exact: false,
    children: [
      {
        path: '/',
        exact: true,
        key: 'home',
        name: '首页',
        component: Home,
      },
      {
        path: '/article',
        exact: true,
        key: 'article',
        name: '文章管理',
        component: Article,
      },
      {
        path: '/users',
        exact: true,
        key: 'user',
        name: '用户管理',
        component: User,
      },
    ],
  },
];
